Skip to content

Conversation

maximevtush
Copy link

Summary

Removes the unnecessary IsInSlots wrapper function that was just calling slices.Contains with swapped arguments.

Changes

  • Removed IsInSlots function from container/slice/slice.go
  • Updated usage in testing/endtoend/evaluators/slashing.go to use slices.Contains directly
  • Updated tests in container/slice/slice_test.go to test slices.Contains instead of the wrapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant